﻿using System;

namespace YArchitech.Public
{
	internal class HYRibbonItemToolTipData
	{
		public string TabTitle { get; set; }

		public string PanelTitle { get; set; }

		public string ItemName { get; set; }

		public string Content { get; set; }

		public string ExpandedContent { get; set; }

		public string ExpandedImage { get; set; }

		public string ExpandedVideo { get; set; }

		public string Shortcut { get; set; }

		public string IsProgressive { get; set; }

		public static string ConstructKey(string tabTitle, string panelTitle, string itemName)
		{
			return string.Concat(new string[]
			{
				tabTitle,
				"_",
				panelTitle,
				"_",
				itemName
			});
		}

		public static string ConstructKey(HYRibbonItemToolTipData tooltipData)
		{
			return HYRibbonItemToolTipData.ConstructKey(tooltipData.TabTitle, tooltipData.PanelTitle, tooltipData.ItemName);
		}
	}
}
